﻿/********************************************************************************/
// <copyright file="IUnitOfWorkRepository.cs" company="Asia E-Business Solutions">
//     Copyright © 2012. All right reserved
// </copyright>
//
// <history>
//  <change who="Hieu Nguyen" date="11/12/2012 12:10:13 PM">Created</change>
// <history>
/********************************************************************************/

namespace JLL.China.Infrastructure.RepositoryFramework
{
    using JLL.China.Infrastructure.DomainBase;

    public interface IUnitOfWorkRepository<T> where T : new()
    {
        void PersistNewItem(IEntity<T> item);
        void PersistUpdatedItem(IEntity<T> item);
        void PersistDeletedItem(IEntity<T> item);
    }
}
